package com.gxnu.edu.cn.ttxxt.service;

import com.gxnu.edu.cn.ttxxt.entity.Favorites;

import java.util.List;

public interface FavoriteService {

    void addFavorite(Long userId, Long contactId, Integer contactType);

    void removeFavorite(Long userId, Long contactId);

    void updateFavoriteOrder(Long userId, Long contactId, Integer sortOrder);

    List<Favorites> getUserFavorites(Long userId);
}
    